package org.qqcui.designpattern.patterns.proxy.statik;

/**
 * 静态代理类客户端
 *
 * @author cuiqingqiang
 * @version 1.0
 * @date 2022/5/1 10:08
 **/
public class Client {

    public static void main(String[] args) {
        ITeacherDao teacherDao = new TeacherDaoImpl();
        TeacherDaoProxy proxy = new TeacherDaoProxy(teacherDao);
        proxy.teach();
    }
}
